package com.coin.exchange.ok.vo;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class OkTradeRequestVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5135911557952321546L;

	@NotNull
	@ApiModelProperty(required = true, value = "用户申请的apiKey")
	private String api_key;

	@NotNull
	@ApiModelProperty(required = true)
	private String secret_key;

	@NotNull
	@ApiModelProperty(required = true, value = "币对如ltc_btc")
	private String symbol;

	@NotNull
	@ApiModelProperty(required = true, value = "买卖类型： 限价单（buy/sell） 市价单（buy_market/sell_market）")
	private String type;

	@ApiModelProperty(value = "下单价格 市价卖单不传price")
	private String price;

	@ApiModelProperty(value = "交易数量 市价买单不传amount")
	private String amount;

	public String getApi_key() {
		return api_key;
	}

	public void setApi_key(String api_key) {
		this.api_key = api_key;
	}

	public String getSecret_key() {
		return secret_key;
	}

	public void setSecret_key(String secret_key) {
		this.secret_key = secret_key;
	}

	public String getSymbol() {
		return symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}
	
}
